export function getQueryVarible(url) {
  let vars = url.split('?')[1].split('&');
  let varmap = {};
  for (let i = 0; i < vars.length; i++) {
    let pair = vars[i].split('=')
    varmap[pair[0]] = pair[1]
  }
  return varmap;
}